package Blatt2;

public class Aufgabe5 {
	public static void main(String[] argv) {
		boolean a 	= false;
		boolean b 	= false;
		boolean c 	= false;
		boolean res = true;
		
		System.out.println("**** Blatt 2 - Aufgabe 5 ****");
		System.out.println("a\tb\tc\tresult");
		for(int i = 0;i <= 1;a = !a,i++) {
			for(int j = 0;j <= 1;b = !b,j++) {
				for(int k = 0;k <= 1;c = !c,k++) {
					res = (a & b) | (!c);
					System.out.println(a + "\t" + b + "\t" + c + "\t" + res);
				}
			}
		}					
	}
}
